package com.legendshop.openportal.sdk.model.constants;

/**
 * @author jzh
 * @version 1.0.0
 * @title CommonConstants
 * @date 2024/6/18 15:10
 * @description：
 */
public interface CommonConstants {

    /**
     * 开放平台缓存前缀
     */
    String OPEN_CACHE_PREFIX = "open:";

    /**
     * 访问token的缓存key
     */
    String ACCESS_TOKEN_CACHE_KEY = OPEN_CACHE_PREFIX + "access_token";

    /**
     * 认证头
     */
    String AUTHORIZATION = "Authorization";

    /**
     * 认证模式
     */
    String BEARER = "Bearer ";

    /**
     * 状态码
     */
    String SUCCESS = "success";

    /**
     * 异常代码KEY
     */
    String STATUS = "status";

    /**
     * 异常信息提示
     */
    String MESSAGE = "message";

    /**
     * 具体结果
     */
    String DATA = "data";

    /**
     * 状态
     */
    String CODE = "code";
}
